﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace _1._12._2015_College.Models
{
    public class CollegeViewModel
    {
        public int CollegeId { get; set; }
        public string Name { get; set; }
        public string State { get; set; }
        public string City { get; set; }
        public decimal AvgRating { get; set; }
        public int TotalRatings { get; set; }
        public int NumRatings { get; set; }
    }

    public class RatingViewModel
    {
        public int RatingId { get; set; }
        public string Text { get; set; }
        public decimal NumRating { get; set; }
        public int CollegeId { get; set; }
    }
}